$wid: 200px;
$url: "";
$font: 20;
@mixin vd {
  width: 100px;
  height: 100px;
  color: rgb(255, 38, 0);
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  span {
    position: absolute;
    top: 2px;
    font-size: px2rem(50);
    font-weight: 200;
  }
  .vd-text {
    font-size: 10px;
  }
}
@mixin boxShadow {
  -webkit-box-shadow: -15px 12px 27px 1px #f9f2ff;
  -moz-box-shadow: -15px 12px 27px 1px #f9f2ff;
  box-shadow: -15px 12px 27px 1px #f9f2ff;
  border-radius: px2rem(8);
}
@mixin disJZ {
  display: flex;
  justify-content: center;
  align-items: center;
}
@mixin wid {
  width: 100%;
  height: px2rem(60);
}
@function px2rem($px) {
  @return $px / 20 * 1rem;
}
#pad {
  padding-top: 2px;
}
.home {
  display: flex;
  flex-direction: column;
  height: 100%;
  .top {
    height: 100%;
    @include wid;
    @include disJZ;
    position: relative;
    .top-item {
      border: 1px solid #eee;
      height: 100%;
      width: 100%;
      background-color: rgb(255, 255, 255);
      @include boxShadow;
      @include disJZ;
      justify-content: flex-end;
      .top-item-left {
        @include disJZ;
        width: px2rem(40);
        height: px2rem(40);
        border-radius: 50%;
        background-color: #fba629;
      }
      .top-item-right {
        font-size: px2rem(20);
        font-weight: 250;
        @include disJZ;
        flex-direction: column;
      }
      .top-alter-box {
        position: absolute;
        color: #d31d1d;
        animation: 6s linear 0s infinite alternate move_eye;
      }
      @keyframes move_eye {
        from {
          left: 0;
        }
        to {
          left: 70%;
        }
      }
    }
  }
  .body-box {
    width: 100%;
    height: px2rem(500);
    background-color: rgb(255, 255, 255);
    border-radius: 8px;
    @include disJZ;
    position: relative;
    background: url("../../../images/全景.png");
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    .text-box {
      position: absolute;
      top: 280px;
      left: 555px;
      .text {
        font-size: px2rem(20);
        font-weight: 300;
      }
      span {
        font-size: px2rem(50);
        font-weight: 300;
        color: #d31d1d;
      }
    }
  }
  .bottom {
    width: 100%;
    height: px2rem(200);
    margin-top: 8px;
    border-radius: 8px;
    background: linear-gradient(223deg, #67b42e 8%, #7a8788 43%, #48512c 66%);
    @include disJZ;
  }
  .body-left {
    flex: 1;
    .l {
      height: 150px;
      display: flex;
      flex-direction: column;
      justify-content: space-around;
      .bottom-vdBox1 {
        border: 1px solid #e6f4ff;
        width: 24%;
        height: px2rem(170);
        background: url("../../../images/W2.png");
        background-repeat: no-repeat;
        background-size: cover;
        border-radius: 8px;
      }
      .bottom-vdBox2 {
        border: 1px solid #e6f4ff;
        width: 24%;
        height: px2rem(170);
        background: url("../../../images/W3.png");
        background-repeat: no-repeat;
        background-size: cover;
        border-radius: 8px;
      }
      .bottom-vdBox3 {
        border: 1px solid #e6f4ff;
        width: 24%;
        height: px2rem(170);
        background: url("../../../images/W4.png");
        background-repeat: no-repeat;
        background-size: cover;
        border-radius: 8px;
        position: relative;

        .text-box {
          position: absolute;
          top: 0px;
          left: 10px;
          font-size: px2rem(50);
          font-weight: 300;
          color: #d31d1d;
        }
      }
      .bottom-vdBox4 {
        border: 1px solid #e6f4ff;
        width: 24%;
        height: px2rem(170);
        background: url("../../../images/W5.png");
        background-repeat: no-repeat;
        background-size: cover;
        border-radius: 8px;
      }
    }
  }
  .body-right {
    font-size: px2rem(26);
    padding: 8px;
    width: 38%;
    height: 100%;
    display: flex;
    justify-content: space-evenly;
    h3 {
      color: white;
      font-size: 16px;
      font-weight: 250;
    }
    position: relative;
    .l {
      font-size: 10px;
      width: 40%;
      height: 100px;
      position: absolute;
      top: px2rem(60);
      left: px2rem(86);
      display: flex;
      flex-direction: column;
      justify-content: space-around;
    }
    .r {
      width: 24%;
      height: 38%;
      border: 1px solid #ffffff;
      position: absolute;
      top: px2rem(84);
      right: px2rem(130);
      @include disJZ;
    }
  }
}
